package com.hqhy.like.admin.order.dao.persist.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hqhy.like.admin.order.pojo.entity.OrderDetails;
import com.hqhy.like.admin.order.pojo.vo.OrderDetailsStandardVO;
import com.hqhy.like.admin.order.pojo.vo.OrderEchartsVO;

import java.time.LocalDateTime;
import java.util.List;

public interface OrderDetailsMapper extends BaseMapper<OrderDetails> {
    List<OrderDetailsStandardVO> selectAllOrderDetailsForAdmin();

    List<OrderDetailsStandardVO> getStandardById(Long orderId);

    void deleteDetailsById(Long id);

    List<OrderEchartsVO> getOrderByDate(LocalDateTime start, LocalDateTime end);
}
